First, Do No Harm: A Curricular Approach to Exceptions
نویسنده
چکیده
This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: taxonomies of exceptions and exception handlers and the relationships between them, subtle pitfalls of exception handling, and factors influencing the selection of error reporting patterns. Much of the discussion is language independent, but specific attention is given to the Java checked exception controversy.
منابع مشابه
First, Do No Harm: A Curricular Approach to Exceptions Introducing Refactoring to Promote Reliability
This paper advocates the adoption of deferred error coding within computer science curricula. It argues that it is both a sound development strategy and aligns well pedagogically. By deferring specific error handling, the student better appreciates its subtleties and its importance as an independent topic, and will tend to create more reliable applications. This paper includes other topics whic...
متن کاملFirst Do No Harm: Deferred Error Handling – A Curricular Approach to Exceptions
This paper advocates the adoption of deferred error handling within computer science curricula. It argues that it is both a sound development strategy and aligns well with pedagogically. By deferring error handling, the student better appreciates its subtleties and its importance as an independent topic. This paper also includes other topics which may enhance curricula: an analysis of error rep...
متن کامل“First, Do No Harm”: Have the Health Impacts of Government Bills on Tax Legislation Been Assessed in Finland?
As taxation is one of the key public policy domains influencing population health, and as there is a legal, strategic, and programmatic basis for health impact assessment (HIA) in Finland, we analyzed all 235 government bills on tax legislation over the years 2007–2014 to see whether the health impacts of the tax bills had been assessed. We found that health impacts had been assessed for 13 bil...
متن کاملرازداری در علوم پزشکی
Confidentiality is an inevitable pillar of the history of the physician-patient relationship. Misunderstanding of this principle not only causes harm to sanctity of the medical profession, but also can damage the quality of the therapeutic relationship, and more broadly public health. The keystone of this negative effect is the potential harm to the patients’ trust and confidence. Generally, th...
متن کاملModerate Morality: An Interest-Based Contractarian Defense & its Applied Result in the Political Ethics of International Relations
What is morality’s scope? Should all our actions be evaluated morally? Is it necessary to be causally responsible for harm to have a responsibility to reduce it? Is there a morally relevant distinction between those consequences of our actions which we intend or do and those which we foresee but do not intend or allow but do not do? Is helping others a matter of supererogation (i.e. beyond the ...
متن کامل